package cn.shop.dys.db;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

import cn.shop.dys.db.dbinfo.UserInfoDBInfo;

/**
 * 用户db
 * Created by jian on 2016/4/19.
 */
public class UserInfoDBHelper extends SQLiteOpenHelper{
    public UserInfoDBHelper(Context context) {
        super(context, UserInfoDBInfo.DB_NAME, null, UserInfoDBInfo.VERSION);
    }
    @Override
    public void onCreate(SQLiteDatabase db) {
        db.execSQL(UserInfoDBInfo.USER_INFO_TABLE_CREATE);
    }

    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

    }
}
